package com.bw.module_cashier.adapter

import com.bw.lib_common.entity.CashierPayerEntity
import com.bw.module_cashier.R
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
/**
 * 智慧园区-05-收银台V1.1-20250507
 */
class CashierPayerAdapter:BaseQuickAdapter<CashierPayerEntity,BaseViewHolder>(R.layout.item_cashier_payer) {
    override fun convert(holder: BaseViewHolder, item: CashierPayerEntity) {
        holder.setText(R.id.projectName,"项目名称"+item.projectName)
        holder.setText(R.id.totalAmount,"￥"+item.totalAmount+".00")
        holder.setText(R.id.payerName,"户主姓名："+item.payerName)
        holder.setText(R.id.contactNumber,"联系电话："+item.contactNumber)
    }
}